Command: CH (Configure Host). The HSM must be offline or in the secure state.
Function: To configure the Host port to emulate a type of data communications equipment and control equipment, which can be one of the following:
· Standard asynchronous emulation.
· Transparent asynchronous emulation.
· SNA/SDLC synchronous emulation.
· Ethernet.
· ESCON (HSM8-Exxxxx variants only).
The
Host port setting can optionally be saved to a Smartcard.
After completing the procedure reset the HSM by pressing the RESET button on
the front panel. The new values do not take effect until this has been done.
Inputs: The options are menu driven and the inputs vary depending on the communication mode selected. See examples below.
Outputs: None.
Errors: None.
Example 1: (standard asynchronous communication)
In this example, standard asynchronous communications is enabled, the message header length is 4 characters and the terminating characters are set to 0300 hexadecimal (ETX). The Host baud is changed from 300 to 19200 bps; the word format to 8 data bits, no parity and 1 stop bit.
Offline> CH <Return>
Message header length (1-255): 4
Asynch, Ethernet, or SNA-SDLC 3274? [A/E/S]: A
Transparent mode (Y/N): N
Terminating characters (4 hex): 0300
Interface: DTE or DCE [T/C]: C
|
BAUD RATES |
WORD FORMATS |
||
|
1. |
300 |
1. |
7 bits, no parity, 1 stop |
|
2. |
600 |
2. |
7 bits, odd parity, 1 stop |
|
3. |
1200 |
3. |
7 bits, even parity, 1 stop |
|
4. |
2400 |
4. |
8 bits, no parity, 1 stop |
|
5. |
4800 |
5. |
8 bits, odd parity, 1 stop |
|
6. |
9600 |
6. |
8 bits, even parity, 1 stop |
|
7. |
19200 |
|
|
|
8. |
38400 |
|
|
In response to the prompts, enter the number of the
desired option or <RETURN> for no change.
Host baud rate: (current value = 1) 7 <Return>
Host word format: (current value = 2) 4 <Return>
Save HOST settings to smart card? [Y/N]: N <Return>
Example 2: (transparent asynchronous communication)
In this example, transparent asynchronous communications is enabled and the message header length is set to 6 characters. The Host baud is changed to 9600 bps and the word format is set to 8 data bits, no parity and 1 stop bit. No option of message terminating characters is offered because this is fixed (value X'03, "ETX" character).
Offline> CH <Return>
Message header length (1-255): 6
Asynch, Ethernet, or SNA-SDLC 3274? [A/E/S]: A
Transparent mode (Y/N): Y
Interface: DTE or DCE [T/C]: C
|
BAUD RATES |
WORD FORMATS |
||
|
1. |
300 |
1. |
7 bits, no parity, 1 stop |
|
2. |
600 |
2. |
7 bits, odd parity, 1 stop |
|
3. |
1200 |
3. |
7 bits, even parity, 1 stop |
|
4. |
2400 |
4. |
8 bits, no parity, 1 stop |
|
5. |
4800 |
5. |
8 bits, odd parity, 1 stop |
|
6. |
9600 |
6. |
8 bits, even parity, 1 stop |
|
7. |
19200 |
|
|
|
8. |
38400 |
|
|
In response to the prompts, enter the number of the
desired option or <RETURN> for no change.
Host baud rate: (current value = 1) 6 <Return>
Host word format: (current value = 2) 4 <Return>
Save HOST settings to smart card? [Y/N]: Y <Return>
Insert card and press ENTER: <Return>
HOST settings saved to the smart card.
Example 3: (SNA/SDLC synchronous communication)
In this example, neither IMS nor CICS support is selected. The V.35 interface is fitted. The HSM is a configured as a DCE (Data Communications Equipment), i.e. the HSM supplies the Clock signal for the RS-232-C interface. The Host baud is changed to 19200 bps.
Offline> CH <Return>
Message header length (1-100): 4
Asynch, Ethernet, or SNA-SDLC 3274? [A/E/S]: S
EBCDIC/ASCII [E/A]: E
Transparent Mode (Y/N): N
Station Address (2 hex): C1
IMS/CICS/General (I/C/G): G
DTE/DCE (T/C): C
RS232 or V.35(R/V): R
BAUD RATES
1. 9600
2. 19200
3. 38400
4. 56000
5. 64000
In response to the prompts, enter the number of the
desired option or <RETURN> for no change.
Host baud rate: (current value = 1) 2 <Return>
Save HOST settings to smart card? [Y/N]: N <Return>
Example 4: (SNA/SDLC synchronous communication with IMS support)
In this example, IMS support is selected and the HSM is configured for DCE. The V.35 interface is selected for all Host communications. The Host baud is changed to 56000 bps.
Offline> CH < Return >
Message header length (1-100): 20
Asynch, Ethernet, or SNA-SDLC 3274 [A/E/S]: S
EBCDIC/ASCII [E/A]: E
Transparent Mode (Y/N): N
Station Address (2 hex): C1
IMS/CICS/General (I/C/G): I
IMS message identifier (1-20): PIN,MAC
Identifier offset: 3
DTE/DCE (T/C): C
RS232 or V.35 (R/V): V
BAUD RATES
1. 9600
2. 19200
3. 38400
4. 56000
5. 64000
In response to the prompts, enter the number of the
desired option or <RETURN> for no change.
Host baud rate: (current value = 2) 4 <Return>
Save HOST settings to smart card? [Y/N]: N <Return>
Example 5: (SNA/SDLC synchronous communication with CICS support and DTE)
In this example, CICS support is selected. The V.35 interface is used. The HSM is configured as a DTE (Data Terminal Equipment) and depends on the Host for the Clock signal on the V.35 interface. The Host baud rate cannot be set. No selection for Transparent mode or Station Address is offered, so they default to NO and C1.
Offline> CH <Return>
Message header length (1-100): 4
Asynch, Ethernet, or SNA-SDLC 3274? [A/E/S]: S
EBCDIC/ASCII [E/A]: E
Transparent Mode (Y/N): N
Station Address (2 hex): C1
IMS/CICS/General (I/C/G): C
DTE/DCE (T/C): T
Save HOST settings to smart card? [Y/N]: N <Return>
Example 6: (Ethernet communication with UDP)
Offline> CH <Return>
Message header length (1-255): 4
Asynch, Ethernet, or SNA-SDLC 3274? [A/E/S]: E
EBCDIC/ASCII (E/A): A
Enter IP address: 128.100.3.1
Enter Well-Known-Port address: 01500
Enable UDP? [Y/N]: Y
Enable TCP? [Y/N]: N
Enter default gateway address: 128.100.3.5
Enter subnet mask: 255.255.255.000
Save HOST settings to smart card? [Y/N]: N <Return>
Example 7: (Ethernet communication with TCP/IP)
Offline> CH <Return>
Message header length (1-255): 4
Asynch, Ethernet, or SNA-SDLC 3274? [A/E/S]: E
EBCDIC/ASCII (E/A): A
Enter IP address: 128.100.3.1
Enter Well-Known-Port address: 01500
Enable UDP? [Y/N]: N
Enable TCP? [Y/N]: Y
Number of connections? [1 - 64]: 6
Enter TCP Keep_Alive timeout (1-120): 120
Enter default gateway address: 128.100.3.5
Enter subnet mask: 255.255.255.000
Save HOST settings to smart card? [Y/N]: N <Return>
Example 8: (Ethernet communication with UDP and TCP/IP)
Offline> CH <Return>
Message header length (1-255): 4
Asynch, Ethernet, or SNA-SDLC 3274? [A/E/S]: E
EBCDIC/ASCII (E/A): A
Enter IP address: 128.100.3.1
Enter Well-Known-Port address: 01500
Enable UDP? [Y/N]: Y
Enable TCP? [Y/N]: Y
Number of connections [1 - 63]: 6
Enter TCP Keep_Alive timeout (1-120): 120
Enter default gateway address: 128.100.3.5
Enter subnet mask: 255.255.255.000
Save HOST settings to smart card? [Y/N]: N <Return>
Example 9: (ESCON)
Offline> CH <Return>
Message header length (1-255): 4
Asynch, Ethernet, SNA-SDLC 3274, or ESCON? [A/E/S/C]: C
EBCDIC/ASCII (E/A):
Save HOST settings to smart card? [Y/N]: N <Return>